import Main from '@/components/main'
export const adsystemRouter = [{
  path: '/advertising',
  name: 'advertising',
  component: Main,
  meta: {
    icon: '_iconsetting',
    showAlways: true,
    title: '广告系统',
    snMenu: 'advertising',
    sn: 'moms:globalsetting:bannerview'
  },
  children: [{
    path: 'advertising_space_list',
    name: 'advertising_space_list',
    meta: {
      title: '广告位管理',
      snMenu: 'advertising_space_list',
      sn: 'moms:globalsetting:bannerview'
    },
    component: () => import('@/view/cms/advertising-space/list.vue')
  },
  {
    path: 'advertising_space_create',
    name: 'advertising_space_create',
    meta: {
      title: '添加广告位',
      snMenu: 'advertising_space_list',
      hideInMenu: true,
      sn: 'moms:globalsetting:bannercreate'
    },
    component: () => import('@/view/cms/advertising-space/create.vue')
  },
  {
    path: 'advertising_space_edit/:id',
    name: 'advertising_space_edit',
    meta: {
      title: '编辑广告位',
      snMenu: 'advertising_space_list',
      hideInMenu: true,
      sn: 'moms:globalsetting:bannerupdate'
    },
    component: () => import('@/view/cms/advertising-space/edit.vue')
  },
  {
    path: 'advertising_space_detail/:id',
    name: 'advertising_space_detail',
    meta: {
      title: '广告位详情',
      snMenu: 'advertising_space_list',
      hideInMenu: true,
      sn: 'moms:globalsetting:bannerupdate'
    },
    component: () => import('@/view/cms/advertising-space/detail.vue')
  },
  {
    path: 'advertising_list',
    name: 'advertising_list',
    meta: {
      title: '广告管理',
      snMenu: 'advertising_list',
      sn: 'moms:globalsetting:adview'
    },
    component: () => import('@/view/cms/advertising/list.vue')
  },
  {
    path: 'advertising_rank',
    name: 'advertising_rank',
    meta: {
      title: '广告排序',
      snMenu: 'advertising_rank',
      hideInMenu: true,
      sn: 'moms:globalsetting:adview'
    },
    component: () => import('@/view/cms/advertising/rank.vue')
  },
  {
    path: 'advertising_create',
    name: 'advertising_create',
    meta: {
      title: '添加广告',
      snMenu: 'advertising_create',
      hideInMenu: true,
      sn: 'moms:globalsetting:adcreate'
    },
    component: () => import('@/view/cms/advertising/create.vue')
  },
  {
    path: 'advertising_edit',
    name: 'advertising_edit',
    meta: {
      title: '编辑广告',
      snMenu: 'advertising_edit',
      hideInMenu: true,
      sn: 'moms:globalsetting:adupdate'
    },
    component: () => import('@/view/cms/advertising/edit.vue')
  },
  {
    path: 'advertising_detail',
    name: 'advertising_detail',
    meta: {
      title: '广告详情',
      snMenu: 'advertising_detail',
      hideInMenu: true,
      sn: 'moms:globalsetting:addetail'
    },
    component: () => import('@/view/cms/advertising/detail.vue')
  }
  ]
}]
